projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed79cd
)
* src/bytecode.c (sf_set_ptr): Cast pointer to type of right size.
author
Mattias Engdegård
<mattiase@acm.org>
Sun, 13 Mar 2022 18:35:50 +0000
(19:35 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Sun, 13 Mar 2022 18:35:50 +0000
(19:35 +0100)
src/bytecode.c
patch
|
blob
|
history
diff --git
a/src/bytecode.c
b/src/bytecode.c
index 9356ebeb6cb8565d103da012282def672b9890b5..b26146c27f383b2314231b5aef4249ef078bf265 100644
(file)
--- a/
src/bytecode.c
+++ b/
src/bytecode.c
@@
-393,7
+393,7
@@
sf_get_ptr (Lisp_Object *fp, enum stack_frame_index index)
INLINE void
sf_set_ptr (Lisp_Object *fp, enum stack_frame_index index, void *value)
{
- fp[index] = XIL ((
EMACS_INT
)value);
+ fp[index] = XIL ((
uintptr_t
)value);
}
INLINE Lisp_Object *